<%@ page pageEncoding="UTF-8"%>
<%@ page import="com.dt.global.utils.Proerties"%>
<%
    String path=request.getContextPath();
    Proerties popUtil = new Proerties();
    String url = popUtil.getValue("wjrdht");
 %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>温江人大代表之家</title>
<link href="<%=path %>/css/style.css" rel="stylesheet" type="text/css" />
<link href="<%=path %>/css/common.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="<%=path %>/js/main.js"></script>
<script type="text/javascript" src="<%=path%>/js/jquery1.4.2.js"></script>
<script type="text/javascript">
	$(function(){
		var path=document.getElementById("path").value+"/";
		//加载头部栏目
		 $.post("<%=path%>/selectChannel/getTWebCoreChannel.do",{},function(data){
	  		          if(data!=null&&data.length>0){
	  		          var html="";
    		           $(data).each(function(i){
    		        	     html=html+""+this.qita+"<a href='"+path+""+this.dizhi+""+this.channelId+"' target='_parent'>"+this.name+"</a>";
    		        	 if(i!=data.length-1){
    		        		 html=html+"&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp; ";
    		        	 }
    		           });
    		          $("#channel").html(html);
	  		          }
		   			},"json");
	     //加载人大要文
	    		 $.post("<%=path%>/selectNews/addNews.do",{channelId:"channelId201309251495122115511296"},function(data){
	  		          if(data!=null&&data.length>0){
	  		          var html="";
    		           $(data).each(function(i){
    		           if(i<8){
    		           	html =html+"<tr><td align='left'><img src='images/arrow.gif' align='absmiddle' /><a href='"+path+"article/getNewsInfoReturn.do?articleId="+this.articleId+"'> "+this.title+"</a></td><td width='80' align='center'><span style='color:#ffcc00'>"+this.time+"</span></td></tr>";
    		           }
    		           });
    		          $("#rdywquery").html(html);
	  		          }
	  		           document.getElementById("rdywtishi").style.display = "none";
		   			},"json");
	
	//加载通知公告
	    		 $.post("<%=path%>/selectNews/addNews.do",{channelId:"channelId201309251495124079477760"},function(data){
	  		          if(data!=null&&data.length>0){
	  		          var html="";
    		           $(data).each(function(i){
    		           if(i<8){
    		           	html =html+"<tr><td align='left'><img src='images/arrow.gif' align='absmiddle' /><a href='"+path+"article/getNewsInfoReturn.do?articleId="+this.articleId+"'> "+this.title+"</a></td></tr>";
    		           }
    		           });
    		          $("#tzggquery").html(html);
	  		          }
	  		           document.getElementById("tzggtishi").style.display = "none";
		   			},"json");
	
	//加载政策法规
	    		 $.post("<%=path%>/selectNews/addNews.do",{channelId:"channelId201309301502084969792512"},function(data){
	  		          if(data!=null&&data.length>0){
	  		          var html="";
    		           $(data).each(function(i){
    		           if(i<8){
    		           		html =html+"<tr><td align='left'><img src='images/arrow.gif' align='absmiddle' /><a href='"+path+"article/getNewsInfoReturn.do?articleId="+this.articleId+"'> "+this.title+"</a></td><td width='80' align='center'><span style='color:#ffcc00'>"+this.time+"</span></td></tr>";
    		           }
    		           });
    		          $("#zcfgquery").html(html);
	  		          }
	  		           document.getElementById("zcfgtishi").style.display = "none";
		   			},"json");
		//基层专栏加载
			 $.post("<%=path%>/selectchannel/selectChannel.do",{pid:'08'},function(data){
	  		          if(data!=null&&data.length>0){
	  		          var html="<tr>";
    		           $(data).each(function(i){
    		        	   if(i<10){
    		        	   if(i!=0&&i%2==0){
    		        		   html=html+"</tr><tr><td style='background-color:#ffd8d8; border:1px solid #FF6600; text-align:center; width:80px;height:20px;'><a href='"+path+"zhengymquery/initIndex.do?pid="+this.pid+"' target='_blank'>"+this.name+"</a></td>";
    		        	   }else{
    		        		   html=html+"<td style='background-color:#ffd8d8; border:1px solid #FF6600; text-align:center; width:80px;height:20px;'><a href='"+path+"zhengymquery/initIndex.do?pid="+this.pid+"' target='_blank' >"+this.name+"</a></td>";
    		        	   }
    		        	   }
    		           });
    		           html=html+"</tr>";
    		          $("#jczlquery").html(html);
	  		          }
	  		          document.getElementById("jczltishi").style.display = "none";
		   			},"json");
		//加载友情链接
				 $.post("<%=path%>/linksajax/getTWebLinksQueryAjax.do",{channelId:'channelId201309251495128323195904'},function(data){
	  		          if(data!=null&&data.length>0){
	  		          var html="<tr>";
    		           $(data).each(function(i){
    		           	if(i<6){
    		           		html=html+"<td align='center' style='padding-left:30px;'><a href='"+this.url+"' target='_blank'><img src='"+this.titleImg+"' width='110' height='35' title='"+this.title+"'/></a></td>";
    		           	}else{
    		           		$("#linkmore").show();
    		           	}
    		           });
    		           html=html+"</tr>";
    		          $("#linksquery").html(html);
	  		          }
	  		          document.getElementById("linkstishi").style.display = "none";
	  		            /*图片滚动*/
                //      var ljkztrr=document.getElementById("lrjkztt"),ljkztr1=document.getElementById("lrjkztt1"),ljkztrr2=document.getElementById("lrjkztt2");
                //      var lspeedjkztr=20;ljkztrr2.innerHTML=ljkztr1.innerHTML;function lMarqueejkztr(){if(ljkztrr2.offsetWidth-ljkztrr.scrollLeft<=0)ljkztrr.scrollLeft-=ljkztr1.offsetWidth;else{ljkztrr.scrollLeft++;}}var lMyMarjkztr=setInterval(lMarqueejkztr,lspeedjkztr);ljkztrr.onmouseover=function(){clearInterval(lMyMarjkztr)};ljkztrr.onmouseout=function(){lMyMarjkztr=setInterval(lMarqueejkztr,lspeedjkztr)}
                     /*图片滚动结束*/
		   			},"json");
		//加载代表风采
				 $.post("<%=path%>/Repajax/getTWebRepQueryAjax.do",{channelId:'channelId201309251495127263757312'},function(data){
	  		          if(data!=null&&data.length>0){
	  		          var html="<tr>";
    		           $(data).each(function(i){
    		  //      	   if(i<3){
    		        	    html=html+"<td align='center' style='padding-left:25px;'><a href='"+path+"article/getRepNewsInfoReturn.do?articleId="+this.articleId+"'><img src='"+this.titleImg+"' width='99' height='146'/><br/>"+this.name+"</a></td>";
    		  //     	     }
    		           });
    		           html=html+"</tr>";
    		          $("#dblzquery").html(html);
    		      //    if(data.length>3){
    		      //  	 $("#dblzgengduo").show();  
    		      //    }
	  		          }
	  		          document.getElementById("dblztishi").style.display = "none";
	  		          /*图片滚动*/
                      var ljkztrr=document.getElementById("lrjkztt"),ljkztr1=document.getElementById("lrjkztt1"),ljkztrr2=document.getElementById("lrjkztt2");
                      var lspeedjkztr=20;ljkztrr2.innerHTML=ljkztr1.innerHTML;function lMarqueejkztr(){if(ljkztrr2.offsetWidth-ljkztrr.scrollLeft<=0)ljkztrr.scrollLeft-=ljkztr1.offsetWidth;else{ljkztrr.scrollLeft++;}}var lMyMarjkztr=setInterval(lMarqueejkztr,lspeedjkztr);ljkztrr.onmouseover=function(){clearInterval(lMyMarjkztr)};ljkztrr.onmouseout=function(){lMyMarjkztr=setInterval(lMarqueejkztr,lspeedjkztr)}
                     /*图片滚动结束*/
		   			},"json");
		//加载图片集锦
				 $.post("<%=path%>/selectNews/addNews.do",{channelId:'channelId201309271498002016551936'},function(data){
	  		          if(data!=null&&data.length>0){
	  		          var html="<tr>";
    		           $(data).each(function(i){
    		        	    html=html+"<td align='center' valign='middle' style='padding:10px;'><a href='"+path+"article/getNewsInfoReturn.do?articleId="+this.articleId+"'><img alt='"+this.allTitle+"' src='"+this.titleImg+"' width='250' height='150'/><br/>"+this.title+"</a></td>";
    		           });
    		           html=html+"</tr>";
    		          $("#picquery").html(html);
    		        	 $("#picgengduo").show();  
	  		          }
	  		          document.getElementById("pictishi").style.display = "none";
	  		            /*图片滚动*/
                      var jkztrr=document.getElementById("rjkztt"),jkztr1=document.getElementById("rjkztt1"),jkztrr2=document.getElementById("rjkztt2");
                      var speedjkztr=20;jkztrr2.innerHTML=jkztr1.innerHTML;function Marqueejkztr(){if(jkztrr2.offsetWidth-jkztrr.scrollLeft<=0)jkztrr.scrollLeft-=jkztr1.offsetWidth;else{jkztrr.scrollLeft++;}}var MyMarjkztr=setInterval(Marqueejkztr,speedjkztr);jkztrr.onmouseover=function(){clearInterval(MyMarjkztr)};jkztrr.onmouseout=function(){MyMarjkztr=setInterval(Marqueejkztr,speedjkztr)}
                     /*图片滚动结束*/
		   			},"json");
	});
	//回车事件
	function Keypress(event){
	 var event=window.event?window.event:event; 
	 if(event.keyCode==13){
	 	if($("#tishi").val().length<1){
			alert("请输入查询标题");
			return;
			}
		document.getElementById("textfield").value=$("#tishi").val();
        $("#selInfo").submit();
      } 
  }
	//搜索
	function sous(){
			if($("#tishi").val().length<1){
			alert("请输入查询标题");
			return;
			}
			document.getElementById("textfield").value=$("#tishi").val();
			$("#selInfo").submit();
		};
</script>
</head>
<body>
<table border="0" align="center" cellpadding="0" cellspacing="0" style="margin-bottom:10px">
  <tr>
    <td><table width="100%" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td width="410"><img src="<%=path %>/images/logo.png" width="410" height="88" /></td>
        <td><table border="0" align="right" cellpadding="0" cellspacing="0">
          <tr>
            <td align="right"><img src="<%=path %>/images/searchIco.png" width="26" height="24" /></td>
            <td align="center" style="background-image:url(<%=path %>/images/searchBg.png); width:140px"><input type="text" id="tishi" onkeydown="Keypress(event)" style="width:130px; border:0px; margin:0px; background-image:url(<%=path %>/images/searchBg.png); background-position: 0 -3px;" /></td>
            <td align="center"><img id="suos" onclick="javascript:sous();" src="<%=path %>/images/searchBtn.png" width="67" height="24" align="absmiddle" /></td>
          </tr>
        </table></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td><img src="<%=path %>/images/header.png" width="967" height="210" /></td>
  </tr>
  <tr>
    <td align="center" style="background-image:url(<%=path %>/images/menuBg.png); height:39px; width:967px"><span class="p14 color2" style="font-weight:bold"><a href="<%=path%>/index.do" target="_parent">首页</a>&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;<span id="channel"></span></span></td>
  </tr>
</table>
<table border="0" align="center" cellpadding="0" cellspacing="0" style="margin-bottom:7px">
  <tr>
    <td width="722" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td class="sailBox_title"><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td class="sailBox_title_txt">人大要闻</td>
            <td class="sailBox_title_more"><a href="<%=path %>/article/articlePageQuery.do?channelId=channelId201309251495122115511296">更多</a></td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td height="200" class="sailBox_cont"><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="300" align="center">
               <script type="text/javascript">
					 var focus_width=250
					 var focus_height=180
					 var text_height=20
					 var swf_height = focus_height+text_height
					 var spics ="${spics}";
				     var stexts = "${stexts}";
					 var slinks = "${slinks}";
					 document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="'+ focus_width +'" height="'+ swf_height +'">');
					 document.write('<param name="allowScriptAccess" value="sameDomain"><param name="movie" value="images/focus1.swf"><param name="quality" value="high"><param name="bgcolor" value="#f1f1f1">');
					 document.write('<param name="menu" value="false"><param name=wmode value="opaque">');
					 document.write('<param name="FlashVars" value="pics='+spics+'&links='+slinks+'&texts='+stexts+'&borderwidth='+focus_width+'&borderheight='+focus_height+'&textheight='+text_height+'">');
					 document.write('<embed src="images/focus1.swf" wmode="opaque" FlashVars="pics='+spics+'&links='+slinks+'&texts='+stexts+'&borderwidth='+focus_width+'&borderheight='+focus_height+'&textheight='+text_height+'" menu="false" bgcolor="#f1f1f1" quality="high" width="'+ focus_width +'" height="'+ swf_height +'" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />'); 
					 document.write('</object>');
	 				</script>
              </td>
            <td valign="top"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" class="idxList">
               <!-- 人大要文加载 -->
               <tr id="rdywtishi">
              				<td align="center" bgcolor="#F4F4F4">
              					<img src='<%=path%>/images/loading/x-large-loading.gif' 
              						width='25' height='25' align='absmiddle'/>
              					<span class="gray">加载中...</span>
              				</td>
              			</tr>
                <tbody id="rdywquery"></tbody>
            </table></td>
          </tr>
        </table></td>
      </tr>
    </table></td>
    <td style="width:8px"></td>
    <td width="237" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td class="sailBox2_title"><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td class="sailBox2_title_txt">通知公告</td>
            <td class="sailBox2_title_more"><a href="<%=path %>/article/articlePageQuery.do?channelId=channelId201309251495124079477760">更多</a></td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td height="200" class="sailBox2_cont"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" class="idxList">
           <!-- 通知公告加载 -->
               <tr id="tzggtishi">
              				<td align="center" bgcolor="#F4F4F4">
              					<img src='<%=path%>/images/loading/x-large-loading.gif' 
              						width='25' height='25' align='absmiddle'/>
              					<span class="gray">加载中...</span>
              				</td>
              			</tr>
                <tbody id="tzggquery"></tbody>
        </table></td>
      </tr>
    </table></td>
  </tr>
</table>
<table border="0" align="center" cellpadding="0" cellspacing="0" style="margin-bottom:7px">
  <tr>
    <td width="967" valign="top"><a href="<%=url%>" target='_blank'><img src="<%=path %>/images/system.png" width="967" height="115" /></a></td>
  </tr>
</table>
<table width="967" border="0" align="center" cellpadding="0" cellspacing="0" style="margin-bottom:7px">
  <tr>
    <td width="356" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td class="sailBox_title"><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td class="sailBox_title_txt">政策法规</td>
            <td class="sailBox_title_more"><a href="<%=path %>/article/articlePageQuery.do?channelId=channelId201309301502084969792512">更多</a></td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td height="200" valign="top" class="sailBox_cont"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" class="idxList">
           <!-- 政策法规加载 -->
               <tr id="zcfgtishi">
              				<td align="center" bgcolor="#F4F4F4">
              					<img src='<%=path%>/images/loading/x-large-loading.gif' 
              						width='25' height='25' align='absmiddle'/>
              					<span class="gray">加载中...</span>
              				</td>
              			</tr>
                <tbody id="zcfgquery"></tbody>
        </table></td>
      </tr>
    </table></td>
    <td style="width:10px"></td>
    <td width="356" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td class="sailBox_title"><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td class="sailBox_title_txt">代表风采</td>
            <td class="sailBox_title_more"><a href="<%=path %>/article/getdaibiaofcPageQuery.do?channelId=channelId201309251495127263757312" id="dblzgengduo">更多</a></td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td valign="top" class="sailBox_cont" style="padding:5px">
        <div id="lrjkztt" style="overflow:hidden; width:340px;margin:5px 0;">
        <table border="0" cellspacing="0" cellpadding="0">
        <tr>
        <td id="lrjkztt1" nowrap="nowrap" >
        <table border="0" align="center" cellpadding="0" cellspacing="10" style="margin-top:20px">
           <!-- 代表风采加载 -->
               <tr id="dblztishi">
              				<td align="center" bgcolor="#F4F4F4">
              					<img src='<%=path%>/images/loading/x-large-loading.gif' 
              						width='25' height='25' align='absmiddle'/>
              					<span class="gray">加载中...</span>
              				</td>
              			</tr>
                <tbody id="dblzquery"></tbody>
        </table></td>
        <td id="lrjkztt2" nowrap="nowrap" style="padding-left:8px;"></td>
      </tr>
    </table></div></td></tr></table></td>
    <td style="width:8px"></td>
    <td width="237" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td class="sailBox2_title"><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td class="sailBox2_title_txt">基层专栏</td>
            <td class="sailBox2_title_more"><a href="<%=path %>/article/articlejczlPageQuery.do?channelId=channelId201309251495128810669056">更多</a></td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td height="200" class="sailBox2_cont"><table border="0" align="center" cellpadding="5" cellspacing="5">
      <!-- 基层专栏加载 -->
               <tr id="jczltishi">
              				<td align="center" bgcolor="#F4F4F4">
              					<img src='<%=path%>/images/loading/x-large-loading.gif' 
              						width='25' height='25' align='absmiddle'/>
              					<span class="gray">加载中...</span>
              				</td>
              			</tr>
                <tbody id="jczlquery"></tbody>
        </table></td>
      </tr>
    </table></td>
</table>
<table border="0" align="center" cellpadding="0" cellspacing="0" style="margin-bottom:7px;">
  <tr>
    <td valign="bottom" style="width:967px; height:226px; background-image:url(<%=path %>/images/picNews_bg.png);" >
	<table width="967" border="0" cellspacing="0" cellpadding="0" >
	<tr><td class="sailBox_title_more" height="30"><a href="<%=path %>/article/articlePicPageQuery.do?channelId=channelId201309271498002016551936">更多 </a></td>
  </tr>
  <tr>
    <td align="center"><div id="rjkztt" style="overflow:hidden; width:930px;margin:5px 0;">
     <table border="0" cellspacing="0" cellpadding="0">
        <tr>
     <td id="rjkztt1" nowrap="nowrap" >
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
    	 <!-- 图片集锦加载 -->
               <tr id="pictishi">
              				<td align="center" bgcolor="#F4F4F4">
              					<img src='<%=path%>/images/loading/x-large-loading.gif' 
              						width='25' height='25' align='absmiddle'/>
              					<span class="gray">加载中...</span>
              				</td>
              			</tr>
                <tbody id="picquery"></tbody> 
          </table></td>
          <td id="rjkztt2" nowrap="nowrap" style="padding-left:8px;"></td>
        </tr>
      </table>
    </div></td>
  </tr>
</table>
</td>
  </tr>
</table>
<table border="0" align="center" cellpadding="0" cellspacing="0" style="margin-bottom:7px">
  <tr>
    <td width="970" valign="top"><table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td class="sailBox_title"><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td class="sailBox_title_txt">友情链接</td>
            <td class="sailBox_title_more" id="linkmore" style="display: none"><a href="<%=path %>/links/LinksQuery.do?channelId=channelId201309251495128323195904">更多</a></td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td valign="top" class="sailBox_cont" style="padding:5px">
     <!--<div id="lrjkztt" style="overflow:hidden; width:960px;margin:5px 0;">
    	 <table border="0" cellspacing="0" cellpadding="0">
      	  <tr>
    	 <td id="lrjkztt1" nowrap="nowrap" > --> 
        <table width="90%" border="0" align="center" cellpadding="0" cellspacing="10">
       <!-- 加载友情链接 -->
               <tr id="linkstishi">
              				<td align="center" bgcolor="#F4F4F4">
              					<img src='<%=path%>/images/loading/x-large-loading.gif' 
              						width='25' height='25' align='absmiddle'/>
              					<span class="gray">加载中...</span>
              				</td>
              			</tr>
                <tbody id="linksquery"></tbody>
        </table></td>
     <!--     <td id="lrjkztt2" nowrap="nowrap" style="padding-left:8px;"></td> -->
      </tr>
    </table>
 <!--    </div></td> --> 
  </tr>
  <input type="hidden" value="<%=path%>" id="path"/>
</table>
<!-- </td>
</tr>
</table> -->
<div style="text-align:center">
<iframe src="<%=path%>/query/footer.do" width="970px" height="100" frameborder="0" scrolling="no" name="footer"></iframe>
</div>
  <form action="<%=path%>/article/getsearchPageQuery.do" id="selInfo" method="post">
  <input type="hidden" name="title" id="textfield"/>
  </form>
</body>
</html>
